package app.system.service.impl;

import app.system.entity.analyes.MusicCount;
import app.system.mapper.MusicCountMapper;
import app.system.service.MusicCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MusicCountServiceImpl implements MusicCountService {
    @Autowired
    private MusicCountMapper musicCountMapper;
    @Override
    public int saveInfo(MusicCount musicCount) {
        return musicCountMapper.saveInfo(musicCount);
    }

    @Override
    public List<MusicCount> getMusicCountAll() {
        return musicCountMapper.getMusicCountAll();
    }
}
